<script language="JavaScript" type="text/javascript">
<!--
function submit()
{
  document.sub_form.submit() ;
}
-->
</script>
<div id="body">
<?=$this->validation->error_string; ?>
	<div id="reg">
		<?php echo form_open('user_control/do_change_email', array('id'=>'sub_form', 'name'=>'sub_form')); ?>
		<table cellpadding="5px" cellspacing="0" border="0">
		<tr>
			<td align="right"><label for="oldEmail" style="color:#FFEA00;font-size:12px">Old Email: </label></td>
			<td><?= form_input(array('id'=>'oldEmail', 'name'=>'oldEmail', 'class'=>'text', 'size'=>20, 'maxlength'=>50)); ?></td>
		</tr>
		<tr>
			<td align="right"><label for="newEmail" style="color:#FFEA00;font-size:12px">New Email: </label></td>
			<td><?= form_input(array('id'=>'newEmail', 'name'=>'newEmail', 'class'=>'text', 'size'=>20, 'maxlength'=>50)); ?></td>
		</tr>
		<tr>
			<td colspan="2" align="center""><a href="javascript:submit()" id="reg_link"><span style="color:#FFEA00;">Save Changes</span></a></td>
		<tr>
		</table>
		</form>		
		  
		</div>
            </FORM>
